import numpy as np
from matplotlib import pyplot as plt

# 直方图
data = np.random.randn(1000)

# 绘制直方图
plt.hist(data, bins=30, color='skyblue', alpha=0.5)
plt.show()
